#ifndef READINGVIEW_H
#define READINGVIEW_H

#include <gtkmm.h>
#include "filter.h"
#include "filterview.h"

class ReadingView : public Gtk::VBox
{
public:
    ReadingView();
    virtual ~ReadingView();
    void set_documents(sdms::documents*);
    void set_filterview(FilterView*);
    void update();
protected:
    virtual void on_expiredbutton_click();
    virtual void on_10daysbutton_click();
    virtual void on_futurebutton_click();
    virtual void on_historybutton_click();
    virtual void on_month_changed();
    virtual void on_day_selected();
    void mark_current_month();

    Gtk::Calendar m_calendar;
private:
    //DocView* docview;
    FilterView* filterview;
    sdms::documents* mydoc;
};

#endif // READINGVIEW_H
